package com.yl.pattern.structuralmodel.adapter.object_adapter.class_adapter;

/**
 * @Author 小羊
 * @Date 30/10/2024下午 8:42
 * @ClassName SdCardImpl
 * @Description 具体的sd卡类
 */
public class SdCardImpl implements SdCard {
    @Override
    public String readSd() {
        String msg = "sd card read a msg :hello word SD";
        return msg;
    }

    @Override
    public void writeSd(String msg) {
        System.out.println("sd card write msg : " + msg);
    }
}
